package io.hilo.example.demo.common;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @see org.springframework.boot.CommandLineRunner
 * 
 * @author zollty
 * @since 2018-3-12
 */
@Component
public class AppInfoCommandLineRunner implements CommandLineRunner {
    private Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public void run(String... args) {
        logger.info("spring boot started success!...........................");
        
        logger.info("你可以访问 http://ip:port/app/hello 试试！");
        logger.info("你可以访问 http://ip:port/sys/menu/list?page=1&limit=20 试试！");
    }

}
